	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netlbl_mgmt_protocols_cb
_netlbl_mgmt_protocols_cb:              ## @netlbl_mgmt_protocols_cb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movl	8(%rsi), %edi
	callq	_NETLINK_CB
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	movq	_NLM_F_MULTI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_NLBL_MGMT_C_PROTOCOLS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_netlbl_mgmt_gnl_family@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_genlmsg_put
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_NLBL_MGMT_A_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_nla_put_u32
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_genlmsg_cancel
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genlmsg_end                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_netlbl_mgmt_gnl_family,4,2     ## @netlbl_mgmt_gnl_family
	.comm	_NLM_F_MULTI,4,2                ## @NLM_F_MULTI
	.comm	_NLBL_MGMT_C_PROTOCOLS,4,2      ## @NLBL_MGMT_C_PROTOCOLS
	.comm	_NLBL_MGMT_A_PROTOCOL,4,2       ## @NLBL_MGMT_A_PROTOCOL
	.no_dead_strip	_netlbl_mgmt_protocols_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netlbl_mgmt_protocols_cb
_netlbl_mgmt_protocols_cb:              ; @netlbl_mgmt_protocols_cb
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	w0, [x1, #8]
	bl	_NETLINK_CB
	mov	x1, x0
	ldr	x8, [x21]
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _NLM_F_MULTI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NLM_F_MULTI@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, _NLBL_MGMT_C_PROTOCOLS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NLBL_MGMT_C_PROTOCOLS@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
Lloh9:
	adrp	x3, _netlbl_mgmt_gnl_family@GOTPAGE
Lloh10:
	ldr	x3, [x3, _netlbl_mgmt_gnl_family@GOTPAGEOFF]
	mov	x0, x19
	bl	_genlmsg_put
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.1:
Lloh11:
	adrp	x8, _NLBL_MGMT_A_PROTOCOL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NLBL_MGMT_A_PROTOCOL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_nla_put_u32
	mov	x20, x0
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	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	_genlmsg_end
LBB0_3:
	neg	w20, w22
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_genlmsg_cancel
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_netlbl_mgmt_gnl_family,4,2     ; @netlbl_mgmt_gnl_family
	.comm	_NLM_F_MULTI,4,2                ; @NLM_F_MULTI
	.comm	_NLBL_MGMT_C_PROTOCOLS,4,2      ; @NLBL_MGMT_C_PROTOCOLS
	.comm	_NLBL_MGMT_A_PROTOCOL,4,2       ; @NLBL_MGMT_A_PROTOCOL
	.no_dead_strip	_netlbl_mgmt_protocols_cb
.subsections_via_symbols
