	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bond_opt_check_deps
_bond_opt_check_deps:                   ## @bond_opt_check_deps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	addq	$4, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EACCES@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %ecx
	movq	_BOND_OPTFLAG_NOSLAVES@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_bond_has_slaves
	testq	%rax, %rax
	je	LBB0_4
## %bb.10:
	movq	_ENOTEMPTY@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_4:
	movl	(%rbx), %ecx
LBB0_5:
	movq	_BOND_OPTFLAG_IFDOWN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_9
## %bb.6:
	movq	(%r14), %rcx
	movq	_IFF_UP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_9
## %bb.7:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_BOND_OPTFLAG_NOSLAVES,4,2      ## @BOND_OPTFLAG_NOSLAVES
	.comm	_ENOTEMPTY,4,2                  ## @ENOTEMPTY
	.comm	_BOND_OPTFLAG_IFDOWN,4,2        ## @BOND_OPTFLAG_IFDOWN
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_bond_opt_check_deps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bond_opt_check_deps
_bond_opt_check_deps:                   ; @bond_opt_check_deps
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	add	x1, x1, #4
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _EACCES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _BOND_OPTFLAG_NOSLAVES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BOND_OPTFLAG_NOSLAVES@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_bond_has_slaves
	cbz	x0, LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, _ENOTEMPTY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOTEMPTY@GOTPAGEOFF]
	b	LBB0_2
LBB0_7:
	ldr	w8, [x20]
LBB0_8:
Lloh7:
	adrp	x9, _BOND_OPTFLAG_IFDOWN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BOND_OPTFLAG_IFDOWN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh13:
	adrp	x8, _EBUSY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_2
LBB0_11:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_BOND_OPTFLAG_NOSLAVES,4,2      ; @BOND_OPTFLAG_NOSLAVES
	.comm	_ENOTEMPTY,4,2                  ; @ENOTEMPTY
	.comm	_BOND_OPTFLAG_IFDOWN,4,2        ; @BOND_OPTFLAG_IFDOWN
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_bond_opt_check_deps
.subsections_via_symbols
