	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create
_create:                                ## @create
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_r_bin_new
	leaq	-60(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rax, %r14
	movl	%ebx, %edx
	callq	_r_bin_arch_options_init
	movq	%r15, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_r_bin_create
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdi
	callq	_r_buf_data
	movq	-56(%rbp), %rdx
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_write
	cmpq	-56(%rbp), %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_eprintf
LBB0_3:
	movq	%r15, %rdi
	callq	_r_buf_free
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_eprintf
LBB0_5:
	movq	%r14, %rdi
	callq	_r_bin_free
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to write buffer\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot create binary for this format '%s'.\n"

	.no_dead_strip	_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create
_create:                                ; @create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	bl	_r_bin_new
	mov	x19, x0
	add	x0, sp, #28
	mov	x1, x24
	mov	x2, x23
	bl	_r_bin_arch_options_init
	add	x6, sp, #28
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	mov	x4, #0
	mov	w5, #0
	bl	_r_bin_create
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x1, sp, #16
	bl	_r_buf_data
	mov	x1, x0
	ldr	x2, [sp, #16]
	mov	w0, #1
	bl	_write
	ldr	x8, [sp, #16]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
LBB0_3:
	mov	x0, x20
	bl	_r_buf_free
	b	LBB0_5
LBB0_4:
	str	x21, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_eprintf
LBB0_5:
	mov	x0, x19
	bl	_r_bin_free
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to write buffer\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot create binary for this format '%s'.\n"

	.no_dead_strip	_create
.subsections_via_symbols
