	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function fakelb_add_one
LCPI0_0:
	.long	134217727                       ## 0x7ffffff
	.long	2047                            ## 0x7ff
	.long	2047                            ## 0x7ff
	.long	16383                           ## 0x3fff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fakelb_add_one:                        ## @fakelb_add_one
	.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
	movq	%rdi, %r14
	movq	_fakelb_ops@GOTPCREL(%rip), %rsi
	movl	$24, %edi
	callq	_ieee802154_alloc_hw
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	24(%rax), %r15
	movq	%rax, 8(%r15)
	movq	16(%rax), %rdi
	movq	8(%rdi), %rax
	movups	(%rax), %xmm0
	orps	LCPI0_0(%rip), %xmm0
	movups	%xmm0, (%rax)
	orl	$65535, 16(%rax)                ## imm = 0xFFFF
	movb	$-1, 20(%rax)
	orl	$4194303, 24(%rax)              ## imm = 0x3FFFFF
	addq	$4, %rdi
	callq	_ieee802154_random_extended_addr
	movq	16(%rbx), %rax
	movl	$13, (%rax)
	movl	$13, (%r15)
	movq	_IEEE802154_HW_PROMISCUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, (%rbx)
	movq	%rbx, %rdi
	callq	_ieee802154_register_hw
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	callq	_ieee802154_free_hw
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	movq	_fakelb_phys_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	addq	$16, %r15
	movq	_fakelb_phys@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_mutex_unlock
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fakelb_ops,4,2                 ## @fakelb_ops
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IEEE802154_HW_PROMISCUOUS,4,2  ## @IEEE802154_HW_PROMISCUOUS
	.comm	_fakelb_phys_lock,4,2           ## @fakelb_phys_lock
	.comm	_fakelb_phys,4,2                ## @fakelb_phys
	.no_dead_strip	_fakelb_add_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function fakelb_add_one
lCPI0_0:
	.long	134217727                       ; 0x7ffffff
	.long	2047                            ; 0x7ff
	.long	2047                            ; 0x7ff
	.long	16383                           ; 0x3fff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_fakelb_add_one:                        ; @fakelb_add_one
	.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	x19, x0
Lloh0:
	adrp	x1, _fakelb_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _fakelb_ops@GOTPAGEOFF]
	mov	w0, #24
	bl	_ieee802154_alloc_hw
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldp	x8, x21, [x0, #16]
	str	x0, [x21, #8]
	ldr	x9, [x8, #8]
	ldr	q0, [x9]
Lloh2:
	adrp	x10, lCPI0_0@PAGE
Lloh3:
	ldr	q1, [x10, lCPI0_0@PAGEOFF]
	orr.16b	v0, v0, v1
	str	q0, [x9]
	ldr	d0, [x9, #16]
	movi	d1, #0x0000ff0000ffff
	orr.8b	v0, v0, v1
	str	d0, [x9, #16]
	ldr	w10, [x9, #24]
	orr	w10, w10, #0x3fffff
	str	w10, [x9, #24]
	add	x0, x8, #4
	bl	_ieee802154_random_extended_addr
	ldr	x8, [x20, #16]
	mov	w9, #13
	str	w9, [x8]
	str	w9, [x21]
Lloh4:
	adrp	x8, _IEEE802154_HW_PROMISCUOUS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IEEE802154_HW_PROMISCUOUS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	str	x19, [x20]
	mov	x0, x20
	bl	_ieee802154_register_hw
	cbz	w0, LBB0_4
; %bb.2:
	mov	x19, x0
	ldr	x0, [x21, #8]
	bl	_ieee802154_free_hw
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x19, _fakelb_phys_lock@GOTPAGE
Lloh11:
	ldr	x19, [x19, _fakelb_phys_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_mutex_lock
	add	x0, x21, #16
Lloh12:
	adrp	x1, _fakelb_phys@GOTPAGE
Lloh13:
	ldr	x1, [x1, _fakelb_phys@GOTPAGEOFF]
	bl	_list_add_tail
	mov	x0, x19
	bl	_mutex_unlock
	mov	w19, #0
LBB0_5:
	mov	x0, x19
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_fakelb_ops,4,2                 ; @fakelb_ops
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IEEE802154_HW_PROMISCUOUS,4,2  ; @IEEE802154_HW_PROMISCUOUS
	.comm	_fakelb_phys_lock,4,2           ; @fakelb_phys_lock
	.comm	_fakelb_phys,4,2                ; @fakelb_phys
	.no_dead_strip	_fakelb_add_one
.subsections_via_symbols
