	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802154_associate_req
_ieee802154_associate_req:              ## @ieee802154_associate_req
	.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_CHANNEL@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_5
## %bb.1:
	movq	_IEEE802154_ATTR_COORD_PAN_ID@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_5
## %bb.2:
	movq	%rsi, %rbx
	movq	_IEEE802154_ATTR_COORD_HW_ADDR@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_4
## %bb.3:
	movq	_IEEE802154_ATTR_COORD_SHORT_ADDR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_5
LBB0_4:
	movq	_IEEE802154_ATTR_CAPABILITY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_5
## %bb.7:
	movq	%rbx, %rdi
	callq	_ieee802154_nl_get_dev
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:
	movq	_IEEE802154_ADDR_LONG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_IEEE802154_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_nla_memcpy
	jmp	LBB0_12
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_11:
	movq	_IEEE802154_ADDR_SHORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movq	_IEEE802154_ATTR_COORD_SHORT_ADDR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_get_u16
	movq	%rax, -56(%rbp)
LBB0_12:
	movl	%r13d, -48(%rbp)
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_get_u16
	movq	%rax, -64(%rbp)
	movq	(%rbx), %rax
	movq	_IEEE802154_ATTR_PAGE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.14:
	callq	_nla_get_u8
	movq	%rax, %r15
	jmp	LBB0_15
LBB0_13:
	xorl	%r15d, %r15d
LBB0_15:
	movq	%r14, %rdi
	callq	_ieee802154_mlme_ops
	movq	(%rax), %r13
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_get_u8
	movq	%rax, %r12
	movq	(%rbx), %rax
	movq	_IEEE802154_ATTR_CAPABILITY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_get_u8
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%rax, %r8
	callq	*%r13
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_dev_put
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IEEE802154_ATTR_CHANNEL,8,3    ## @IEEE802154_ATTR_CHANNEL
	.comm	_IEEE802154_ATTR_COORD_PAN_ID,8,3 ## @IEEE802154_ATTR_COORD_PAN_ID
	.comm	_IEEE802154_ATTR_COORD_HW_ADDR,8,3 ## @IEEE802154_ATTR_COORD_HW_ADDR
	.comm	_IEEE802154_ATTR_COORD_SHORT_ADDR,8,3 ## @IEEE802154_ATTR_COORD_SHORT_ADDR
	.comm	_IEEE802154_ATTR_CAPABILITY,8,3 ## @IEEE802154_ATTR_CAPABILITY
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IEEE802154_ADDR_LONG,4,2       ## @IEEE802154_ADDR_LONG
	.comm	_IEEE802154_ADDR_LEN,4,2        ## @IEEE802154_ADDR_LEN
	.comm	_IEEE802154_ADDR_SHORT,4,2      ## @IEEE802154_ADDR_SHORT
	.comm	_IEEE802154_ATTR_PAGE,8,3       ## @IEEE802154_ATTR_PAGE
	.no_dead_strip	_ieee802154_associate_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802154_associate_req
_ieee802154_associate_req:              ; @ieee802154_associate_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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_CHANNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IEEE802154_ATTR_CHANNEL@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_8
; %bb.1:
Lloh2:
	adrp	x21, _IEEE802154_ATTR_COORD_PAN_ID@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IEEE802154_ATTR_COORD_PAN_ID@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_8
; %bb.2:
	mov	x19, x1
Lloh4:
	adrp	x24, _IEEE802154_ATTR_COORD_HW_ADDR@GOTPAGE
Lloh5:
	ldr	x24, [x24, _IEEE802154_ATTR_COORD_HW_ADDR@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x9, [x8, x9, lsl #3]
	cbnz	x9, LBB0_4
; %bb.3:
Lloh6:
	adrp	x9, _IEEE802154_ATTR_COORD_SHORT_ADDR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE802154_ATTR_COORD_SHORT_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_8
LBB0_4:
Lloh9:
	adrp	x23, _IEEE802154_ATTR_CAPABILITY@GOTPAGE
Lloh10:
	ldr	x23, [x23, _IEEE802154_ATTR_CAPABILITY@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_ieee802154_nl_get_dev
	cbz	x0, LBB0_11
; %bb.6:
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x9, [x24]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_12
; %bb.7:
Lloh11:
	adrp	x8, _IEEE802154_ADDR_LONG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IEEE802154_ADDR_LONG@GOTPAGEOFF]
Lloh13:
	ldr	w24, [x8]
Lloh14:
	adrp	x8, _IEEE802154_ADDR_LEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE802154_ADDR_LEN@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	bl	_nla_memcpy
	b	LBB0_13
LBB0_8:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
Lloh19:
	adrp	x8, _ENODEV@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_12:
Lloh21:
	adrp	x9, _IEEE802154_ADDR_SHORT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IEEE802154_ADDR_SHORT@GOTPAGEOFF]
Lloh23:
	ldr	w24, [x9]
Lloh24:
	adrp	x9, _IEEE802154_ATTR_COORD_SHORT_ADDR@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IEEE802154_ATTR_COORD_SHORT_ADDR@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_get_u16
	str	x0, [sp, #16]
LBB0_13:
	str	w24, [sp, #24]
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_get_u16
	str	x0, [sp, #8]
	ldr	x8, [x19]
Lloh27:
	adrp	x9, _IEEE802154_ATTR_PAGE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IEEE802154_ATTR_PAGE@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_nla_get_u8
	mov	x21, x0
	b	LBB0_16
LBB0_15:
	mov	x21, #0
LBB0_16:
	mov	x0, x20
	bl	_ieee802154_mlme_ops
	ldr	x24, [x0]
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_get_u8
	mov	x22, x0
	ldr	x8, [x19]
	ldr	x9, [x23]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_get_u8
	mov	x4, x0
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	blr	x24
	mov	x19, x0
	mov	x0, x20
	bl	_dev_put
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IEEE802154_ATTR_CHANNEL,8,3    ; @IEEE802154_ATTR_CHANNEL
	.comm	_IEEE802154_ATTR_COORD_PAN_ID,8,3 ; @IEEE802154_ATTR_COORD_PAN_ID
	.comm	_IEEE802154_ATTR_COORD_HW_ADDR,8,3 ; @IEEE802154_ATTR_COORD_HW_ADDR
	.comm	_IEEE802154_ATTR_COORD_SHORT_ADDR,8,3 ; @IEEE802154_ATTR_COORD_SHORT_ADDR
	.comm	_IEEE802154_ATTR_CAPABILITY,8,3 ; @IEEE802154_ATTR_CAPABILITY
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IEEE802154_ADDR_LONG,4,2       ; @IEEE802154_ADDR_LONG
	.comm	_IEEE802154_ADDR_LEN,4,2        ; @IEEE802154_ADDR_LEN
	.comm	_IEEE802154_ADDR_SHORT,4,2      ; @IEEE802154_ADDR_SHORT
	.comm	_IEEE802154_ATTR_PAGE,8,3       ; @IEEE802154_ATTR_PAGE
	.no_dead_strip	_ieee802154_associate_req
.subsections_via_symbols
