	.file	"extr_fs.c_syslinux_make_bootsect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	syslinux_make_bootsect
	.type	syslinux_make_bootsect, @function
syslinux_make_bootsect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	DWORD PTR VFAT[rip], esi
	je	.L7
	cmp	DWORD PTR NTFS[rip], esi
	je	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12, QWORD PTR boot_sector[rip]
	mov	edx, DWORD PTR FAT_bsHeadLen[rip]
	lea	rdi, 4[rdi]
	lea	rsi, 4[r12]
	call	memcpy@PLT
	mov	edx, DWORD PTR FAT_bsCodeLen[rip]
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	memcpy@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r12, QWORD PTR boot_sector[rip]
	mov	edx, DWORD PTR NTFS_bsHeadLen[rip]
	lea	rdi, 4[rdi]
	lea	rsi, 4[r12]
	call	memcpy@PLT
	mov	edx, DWORD PTR NTFS_bsCodeLen[rip]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	syslinux_make_bootsect, .-syslinux_make_bootsect
	.comm	boot_sector,8,8
	.comm	VFAT,4,4
	.comm	NTFS_bsHeadLen,4,4
	.comm	NTFS_bsCodeLen,4,4
	.comm	NTFS,4,4
	.comm	FAT_bsHeadLen,4,4
	.comm	FAT_bsCodeLen,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_fs.c_syslinux_make_bootsect.c"
	.text
	.align	2
	.global	syslinux_make_bootsect
	.syntax unified
	.arm
	.fpu softvfp
	.type	syslinux_make_bootsect, %function
syslinux_make_bootsect:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r3, r1
	beq	.L7
	ldr	r3, .L8+4
	ldr	r3, [r3]
	cmp	r3, r1
	popne	{r4, r5, r6, pc}
	ldr	r2, .L8+8
	ldr	r3, .L8+12
	ldr	r5, [r2]
	add	r0, r0, #4
	ldr	r2, [r3]
	add	r1, r5, #4
	bl	memcpy
	ldr	r3, .L8+16
	b	.L5
.L7:
	ldr	r2, .L8+8
	ldr	r3, .L8+20
	ldr	r5, [r2]
	add	r0, r0, #4
	ldr	r2, [r3]
	add	r1, r5, #4
	bl	memcpy
	ldr	r3, .L8+24
.L5:
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r2, [r3]
	b	memcpy
.L9:
	.align	2
.L8:
	.word	VFAT
	.word	NTFS
	.word	boot_sector
	.word	NTFS_bsHeadLen
	.word	NTFS_bsCodeLen
	.word	FAT_bsHeadLen
	.word	FAT_bsCodeLen
	.size	syslinux_make_bootsect, .-syslinux_make_bootsect
	.comm	boot_sector,4,4
	.comm	VFAT,4,4
	.comm	NTFS_bsHeadLen,4,4
	.comm	NTFS_bsCodeLen,4,4
	.comm	NTFS,4,4
	.comm	FAT_bsHeadLen,4,4
	.comm	FAT_bsCodeLen,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
