	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_binary                  ## -- Begin function create_binary
	.p2align	4, 0x90
_create_binary:                         ## @create_binary
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	_ELF_C_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_elf_begin
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_errx
LBB0_2:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_lseek
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
LBB0_4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_elf_nextscn
	testq	%rax, %rax
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	je	LBB0_5
## %bb.17:
	movq	%rax, %rbx
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	leaq	-96(%rbp), %r12
	movq	_SHF_ALLOC@GOTPCREL(%rip), %r14
	movq	_SHT_NOBITS@GOTPCREL(%rip), %r13
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_warnx
	xorl	%eax, %eax
	callq	_elf_errno
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_elf_nextscn
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_gelf_getshdr
	testq	%rax, %rax
	je	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	(%r14), %eax
	testl	%eax, -96(%rbp)
	je	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-88(%rbp), %rax
	cmpq	(%r13), %rax
	je	LBB0_20
## %bb.23:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpq	$0, -80(%rbp)
	je	LBB0_20
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	$-1, %edx
	sete	%cl
	movl	-72(%rbp), %eax
	cmpl	%edx, %eax
	setl	%dl
	orb	%cl, %dl
	je	LBB0_20
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	-68(%rbp), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_20
LBB0_5:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_6:
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %edi
	callq	_elf_errmsg
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_warnx
LBB0_8:
	cmpl	$-1, -44(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_16
## %bb.9:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_elf_nextscn
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%rax, %rbx
	leaq	-96(%rbp), %r12
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_warnx
	xorl	%eax, %eax
	callq	_elf_errno
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_elf_nextscn
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_gelf_getshdr
	testq	%rax, %rax
	je	LBB0_12
## %bb.26:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_SHF_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -96(%rbp)
	je	LBB0_13
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-88(%rbp), %rax
	movq	_SHT_NOBITS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.28:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, -80(%rbp)
	je	LBB0_13
## %bb.29:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	callq	_elf_errno
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_elf_rawdata
	testq	%rax, %rax
	je	LBB0_30
## %bb.32:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %r14
	cmpq	$0, 8(%rax)
	je	LBB0_13
## %bb.33:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, (%r14)
	je	LBB0_13
## %bb.34:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-68(%rbp), %esi
	subl	-56(%rbp), %esi                 ## 4-byte Folded Reload
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_lseek
	testq	%rax, %rax
	jns	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
LBB0_36:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r14), %rdx
	movq	8(%r14), %rsi
	movl	%r13d, %edi
	callq	_write
	cmpq	(%r14), %rax
	leaq	L_.str.2(%rip), %r13
	je	LBB0_13
## %bb.37:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_err
	jmp	LBB0_13
LBB0_30:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	je	LBB0_13
## %bb.31:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_warnx
	jmp	LBB0_13
LBB0_14:
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %edi
	callq	_elf_errmsg
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_warnx
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELF_C_READ,4,2                 ## @ELF_C_READ
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"elf_begin() failed: %s"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.1:                               ## @.str.1
	.asciz	"lseek failed"

L_.str.2:                               ## @.str.2
	.asciz	"gelf_getshdr failed: %s"

	.comm	_SHF_ALLOC,4,2                  ## @SHF_ALLOC
	.comm	_SHT_NOBITS,8,3                 ## @SHT_NOBITS
L_.str.3:                               ## @.str.3
	.asciz	"elf_nextscn failed: %s"

L_.str.4:                               ## @.str.4
	.asciz	"elf_rawdata failed: %s"

L_.str.5:                               ## @.str.5
	.asciz	"write failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_binary                  ; -- Begin function create_binary
	.p2align	2
_create_binary:                         ; @create_binary
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
Lloh0:
	adrp	x8, _ELF_C_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELF_C_READ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_elf_begin
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	w0, #-1
	bl	_elf_errmsg
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_errx
LBB0_2:
Lloh8:
	adrp	x27, _SEEK_SET@GOTPAGE
Lloh9:
	ldr	x27, [x27, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x19
	mov	w1, #0
	bl	_lseek
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
LBB0_4:
	mov	x0, x20
	mov	x1, #0
	bl	_elf_nextscn
Lloh15:
	adrp	x28, _SHF_ALLOC@GOTPAGE
Lloh16:
	ldr	x28, [x28, _SHF_ALLOC@GOTPAGEOFF]
Lloh17:
	adrp	x24, _SHT_NOBITS@GOTPAGE
Lloh18:
	ldr	x24, [x24, _SHT_NOBITS@GOTPAGEOFF]
	cbz	x0, LBB0_12
; %bb.5:
	mov	x21, x0
	mov	w25, #0
	mov	w23, #-1
Lloh19:
	adrp	x22, l_.str.2@PAGE
Lloh20:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #-1
	bl	_elf_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_warnx
	bl	_elf_errno
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_elf_nextscn
	mov	x21, x0
	cbz	x0, LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, sp
	mov	x0, x21
	bl	_gelf_getshdr
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x24]
	ldp	x9, x10, [sp, #8]
	cmp	x9, x8
	ccmp	x10, #0, #4, ne
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	cmn	w23, #1
	ldp	w8, w9, [sp, #24]
	ccmp	w8, w23, #8, ne
	cset	w10, lt
	cmp	w10, #0
	csel	w25, w9, w25, ne
	csel	w23, w8, w23, ne
	b	LBB0_7
LBB0_12:
	mov	w25, #0
	mov	w23, #-1
LBB0_13:
	bl	_elf_errno
	cbz	w0, LBB0_15
; %bb.14:
	bl	_elf_errmsg
	mov	x1, x0
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
LBB0_15:
	cmn	w23, #1
	b.eq	LBB0_34
; %bb.16:
	mov	x0, x20
	mov	x1, #0
	bl	_elf_nextscn
	cbz	x0, LBB0_32
; %bb.17:
	mov	x21, x0
Lloh23:
	adrp	x22, l_.str.2@PAGE
Lloh24:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh25:
	adrp	x23, l_.str.4@PAGE
Lloh26:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	w0, #-1
	bl	_elf_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_warnx
	bl	_elf_errno
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_elf_nextscn
	mov	x21, x0
	cbz	x0, LBB0_32
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x1, sp
	mov	x0, x21
	bl	_gelf_getshdr
	cbz	x0, LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [sp]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x24]
	ldp	x9, x10, [sp, #8]
	cmp	x9, x8
	ccmp	x10, #0, #4, ne
	b.eq	LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	bl	_elf_errno
	mov	x0, x21
	mov	x1, #0
	bl	_elf_rawdata
	cbz	x0, LBB0_30
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x26, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_19
; %bb.25:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x26]
	cbz	x8, LBB0_19
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w8, [sp, #28]
	sub	w1, w8, w25
	ldr	w2, [x27]
	mov	x0, x19
	bl	_lseek
	tbz	x0, #63, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_20 Depth=1
Lloh27:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.1@PAGE
Lloh31:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
LBB0_28:                                ;   in Loop: Header=BB0_20 Depth=1
	ldp	x2, x1, [x26]
	mov	x0, x19
	bl	_write
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_19
; %bb.29:                               ;   in Loop: Header=BB0_20 Depth=1
Lloh32:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_err
	b	LBB0_19
LBB0_30:                                ;   in Loop: Header=BB0_20 Depth=1
	bl	_elf_errno
	cbz	w0, LBB0_19
; %bb.31:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	w0, #-1
	bl	_elf_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_warnx
	b	LBB0_19
LBB0_32:
	bl	_elf_errno
	cbz	w0, LBB0_34
; %bb.33:
	bl	_elf_errmsg
	mov	x1, x0
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
LBB0_34:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ELF_C_READ,4,2                 ; @ELF_C_READ
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"elf_begin() failed: %s"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.1:                               ; @.str.1
	.asciz	"lseek failed"

l_.str.2:                               ; @.str.2
	.asciz	"gelf_getshdr failed: %s"

	.comm	_SHF_ALLOC,4,2                  ; @SHF_ALLOC
	.comm	_SHT_NOBITS,8,3                 ; @SHT_NOBITS
l_.str.3:                               ; @.str.3
	.asciz	"elf_nextscn failed: %s"

l_.str.4:                               ; @.str.4
	.asciz	"elf_rawdata failed: %s"

l_.str.5:                               ; @.str.5
	.asciz	"write failed"

.subsections_via_symbols
