	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_obj
_insert_obj:                            ## @insert_obj
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	testq	%r14, %r14
	jne	LBB0_3
	jmp	LBB0_6
LBB0_1:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_bsdar_errc
	testq	%r14, %r14
	je	LBB0_6
LBB0_3:
	cmpq	%r14, %r15
	je	LBB0_6
## %bb.4:
	movl	(%rbx), %eax
	movq	_AR_B@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.7:
	movq	_objs@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TAILQ_INSERT_BEFORE            ## TAILCALL
LBB0_5:
	movq	_AR_A@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.8:
	addq	$4, %rbx
	movq	_objs@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TAILQ_INSERT_AFTER             ## TAILCALL
LBB0_6:
	addq	$4, %rbx
	movq	_objs@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TAILQ_INSERT_TAIL              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EX_SOFTWARE,4,2                ## @EX_SOFTWARE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"try to insert a null obj"

	.comm	_AR_B,4,2                       ## @AR_B
	.comm	_objs,4,2                       ## @objs
	.comm	_AR_A,4,2                       ## @AR_A
	.no_dead_strip	_insert_obj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_obj
_insert_obj:                            ; @insert_obj
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cbz	x1, LBB0_2
; %bb.1:
	cbnz	x20, LBB0_3
	b	LBB0_8
LBB0_2:
Lloh0:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_bsdar_errc
	cbz	x20, LBB0_8
LBB0_3:
	cmp	x19, x20
	b.eq	LBB0_8
; %bb.4:
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _AR_B@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AR_B@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _objs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _objs@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_TAILQ_INSERT_BEFORE
LBB0_6:
Lloh11:
	adrp	x9, _AR_A@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AR_A@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh14:
	adrp	x8, _objs@GOTPAGE
Lloh15:
	ldr	x8, [x8, _objs@GOTPAGEOFF]
	add	x0, x21, #4
Lloh16:
	ldr	w3, [x8]
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_TAILQ_INSERT_AFTER
LBB0_8:
	add	x0, x21, #4
Lloh17:
	adrp	x8, _objs@GOTPAGE
Lloh18:
	ldr	x8, [x8, _objs@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_TAILQ_INSERT_TAIL
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EX_SOFTWARE,4,2                ; @EX_SOFTWARE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"try to insert a null obj"

	.comm	_AR_B,4,2                       ; @AR_B
	.comm	_objs,4,2                       ; @objs
	.comm	_AR_A,4,2                       ; @AR_A
	.no_dead_strip	_insert_obj
.subsections_via_symbols
