	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802154_associate_resp
_ieee802154_associate_resp:             ## @ieee802154_associate_resp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_IEEE802154_ATTR_STATUS@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_3
## %bb.1:
	movq	_IEEE802154_ATTR_DEST_HW_ADDR@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_3
## %bb.2:
	movq	_IEEE802154_ATTR_DEST_SHORT_ADDR@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_3
## %bb.5:
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_ieee802154_nl_get_dev
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	movq	_IEEE802154_ADDR_LONG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	_IEEE802154_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_nla_memcpy
	movq	%r14, %rdi
	callq	_ieee802154_mlme_ops
	movq	%r14, %rdi
	callq	*8(%rax)
	movl	%eax, -56(%rbp)
	movq	%r14, %rdi
	callq	_ieee802154_mlme_ops
	movq	(%rax), %r13
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_get_u16
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_get_u8
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	*%r13
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dev_put
	jmp	LBB0_8
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IEEE802154_ATTR_STATUS,8,3     ## @IEEE802154_ATTR_STATUS
	.comm	_IEEE802154_ATTR_DEST_HW_ADDR,8,3 ## @IEEE802154_ATTR_DEST_HW_ADDR
	.comm	_IEEE802154_ATTR_DEST_SHORT_ADDR,8,3 ## @IEEE802154_ATTR_DEST_SHORT_ADDR
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IEEE802154_ADDR_LONG,4,2       ## @IEEE802154_ADDR_LONG
	.comm	_IEEE802154_ADDR_LEN,4,2        ## @IEEE802154_ADDR_LEN
	.no_dead_strip	_ieee802154_associate_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802154_associate_resp
_ieee802154_associate_resp:             ; @ieee802154_associate_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x22, _IEEE802154_ATTR_STATUS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IEEE802154_ATTR_STATUS@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_5
; %bb.1:
Lloh2:
	adrp	x23, _IEEE802154_ATTR_DEST_HW_ADDR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _IEEE802154_ATTR_DEST_HW_ADDR@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_5
; %bb.2:
Lloh4:
	adrp	x21, _IEEE802154_ATTR_DEST_SHORT_ADDR@GOTPAGE
Lloh5:
	ldr	x21, [x21, _IEEE802154_ATTR_DEST_SHORT_ADDR@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_5
; %bb.3:
	mov	x19, x1
	mov	x0, x1
	bl	_ieee802154_nl_get_dev
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
Lloh6:
	adrp	x8, _IEEE802154_ADDR_LONG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE802154_ADDR_LONG@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	w1, [x8, x9, lsl #2]
Lloh9:
	adrp	x8, _IEEE802154_ADDR_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE802154_ADDR_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_nla_memcpy
	mov	x0, x20
	bl	_ieee802154_mlme_ops
	ldr	x8, [x0, #8]
	mov	x0, x20
	blr	x8
	str	w0, [sp]
	mov	x0, x20
	bl	_ieee802154_mlme_ops
	ldr	x23, [x0]
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_get_u16
	mov	x21, x0
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_get_u8
	mov	x3, x0
	mov	x1, sp
	mov	x0, x20
	mov	x2, x21
	blr	x23
	mov	x19, x0
	mov	x0, x20
	bl	_dev_put
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_7:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
LBB0_8:
Lloh14:
	adrp	x8, _ENODEV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IEEE802154_ATTR_STATUS,8,3     ; @IEEE802154_ATTR_STATUS
	.comm	_IEEE802154_ATTR_DEST_HW_ADDR,8,3 ; @IEEE802154_ATTR_DEST_HW_ADDR
	.comm	_IEEE802154_ATTR_DEST_SHORT_ADDR,8,3 ; @IEEE802154_ATTR_DEST_SHORT_ADDR
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IEEE802154_ADDR_LONG,4,2       ; @IEEE802154_ADDR_LONG
	.comm	_IEEE802154_ADDR_LEN,4,2        ; @IEEE802154_ADDR_LEN
	.no_dead_strip	_ieee802154_associate_resp
.subsections_via_symbols
