	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcbnl_getperm_hwaddr
_dcbnl_getperm_hwaddr:                  ## @dcbnl_getperm_hwaddr
	.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, %r13d
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	(,%r12,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	_NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r13
	movq	_RTM_GETDCB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	$8, %r8d
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	callq	_NLMSG_NEW
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_NLMSG_DATA
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_DCB_CMD_GPERM_HWADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	shll	$2, %r12d
	xorl	%r14d, %r14d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	movq	(%r15), %rax
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	*(%rax)
	movq	_DCB_ATTR_PERM_HWADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	callq	_nla_put
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_nlmsg_end
	movq	_init_net@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_rtnl_unicast
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ADDR_LEN,4,2               ## @MAX_ADDR_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_RTM_GETDCB,4,2                 ## @RTM_GETDCB
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.comm	_DCB_CMD_GPERM_HWADDR,4,2       ## @DCB_CMD_GPERM_HWADDR
	.comm	_DCB_ATTR_PERM_HWADDR,4,2       ## @DCB_ATTR_PERM_HWADDR
	.comm	_init_net,4,2                   ## @init_net
	.no_dead_strip	_dcbnl_getperm_hwaddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcbnl_getperm_hwaddr
_dcbnl_getperm_hwaddr:                  ; @dcbnl_getperm_hwaddr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x23, x4
	mov	x24, x3
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_ADDR_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_ADDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	lsl	x8, x25, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh8:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_3
; %bb.2:
	mov	x22, x0
Lloh14:
	adrp	x8, _RTM_GETDCB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RTM_GETDCB@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x1, x19
	mov	x2, x24
	mov	w4, #8
	mov	x5, x23
	bl	_NLMSG_NEW
	mov	x23, x0
	bl	_NLMSG_DATA
Lloh17:
	adrp	x8, _AF_UNSPEC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AF_UNSPEC@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _DCB_CMD_GPERM_HWADDR@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DCB_CMD_GPERM_HWADDR@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	lsl	w24, w25, #2
	mov	x0, x21
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x21
	blr	x8
Lloh23:
	adrp	x8, _DCB_ATTR_PERM_HWADDR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DCB_ATTR_PERM_HWADDR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x24
	mov	x3, x21
	bl	_nla_put
	mov	x0, x22
	mov	x1, x23
	bl	_nlmsg_end
Lloh26:
	adrp	x1, _init_net@GOTPAGE
Lloh27:
	ldr	x1, [x1, _init_net@GOTPAGEOFF]
	mov	x0, x22
	mov	x2, x19
	bl	_rtnl_unicast
	cbz	w0, LBB0_4
LBB0_3:
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldur	x8, [x29, #-72]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ADDR_LEN,4,2               ; @MAX_ADDR_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_RTM_GETDCB,4,2                 ; @RTM_GETDCB
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.comm	_DCB_CMD_GPERM_HWADDR,4,2       ; @DCB_CMD_GPERM_HWADDR
	.comm	_DCB_ATTR_PERM_HWADDR,4,2       ; @DCB_ATTR_PERM_HWADDR
	.comm	_init_net,4,2                   ; @init_net
	.no_dead_strip	_dcbnl_getperm_hwaddr
.subsections_via_symbols
