	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raw_bind
_raw_bind:                              ## @raw_bind
	.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
	cmpl	$15, %edx
	jbe	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_AF_IEEE802154@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	callq	_lock_sock
	movq	%r14, %rdi
	callq	_sock_net
	addq	$8, %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ieee802154_get_dev
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_ARPHRD_IEEE802154@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.7:
	movl	8(%r15), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_sk_dst_reset
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movq	%r15, %rdi
	callq	_dev_put
LBB0_9:
	movq	%r14, %rdi
	callq	_release_sock
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AF_IEEE802154,8,3              ## @AF_IEEE802154
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ARPHRD_IEEE802154,8,3          ## @ARPHRD_IEEE802154
	.no_dead_strip	_raw_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raw_bind
_raw_bind:                              ; @raw_bind
	.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
	cmp	w2, #15
	b.ls	LBB0_5
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _AF_IEEE802154@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_IEEE802154@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x19, x0
	bl	_lock_sock
	mov	x0, x19
	bl	_sock_net
	add	x1, x20, #8
	bl	_ieee802154_get_dev
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _ARPHRD_IEEE802154@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARPHRD_IEEE802154@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x21, #8]
	str	w8, [x19]
	mov	x0, x19
	bl	_sk_dst_reset
	mov	w20, #0
	b	LBB0_8
LBB0_5:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_6:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_9
LBB0_7:
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	mov	x0, x21
	bl	_dev_put
LBB0_9:
	mov	x0, x19
	bl	_release_sock
LBB0_10:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AF_IEEE802154,8,3              ; @AF_IEEE802154
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ARPHRD_IEEE802154,8,3          ; @ARPHRD_IEEE802154
	.no_dead_strip	_raw_bind
.subsections_via_symbols
