	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bonding_show_ad_actor_key
_bonding_show_ad_actor_key:             ## @bonding_show_ad_actor_key
	.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
	callq	_to_bond
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_BOND_MODE
	movq	_BOND_MODE_8023AD@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_bond_3ad_get_active_agg_info
	xorl	%edx, %edx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	-32(%rbp), %edx
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BOND_MODE_8023AD,8,3           ## @BOND_MODE_8023AD
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.no_dead_strip	_bonding_show_ad_actor_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bonding_show_ad_actor_key
_bonding_show_ad_actor_key:             ; @bonding_show_ad_actor_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	bl	_to_bond
	mov	x20, x0
	bl	_BOND_MODE
Lloh0:
	adrp	x8, _BOND_MODE_8023AD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BOND_MODE_8023AD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_capable
	cbz	x0, LBB0_4
; %bb.2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_bond_3ad_get_active_agg_info
	ldr	w8, [sp, #8]
	cmp	x0, #0
	csel	w2, w8, wzr, eq
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BOND_MODE_8023AD,8,3           ; @BOND_MODE_8023AD
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.no_dead_strip	_bonding_show_ad_actor_key
.subsections_via_symbols
