	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl18xx_plt_init
_wl18xx_plt_init:                       ## @wl18xx_plt_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_PLT_FEM_DETECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_wl1271_error
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rdi, %rbx
	movq	_WL18XX_SCR_PAD8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WL18XX_SCR_PAD8_PLT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_wlcore_write32
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLT_FEM_DETECT,8,3             ## @PLT_FEM_DETECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wl18xx_plt_init: PLT FEM_DETECT not supported"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_WL18XX_SCR_PAD8,4,2            ## @WL18XX_SCR_PAD8
	.comm	_WL18XX_SCR_PAD8_PLT,4,2        ## @WL18XX_SCR_PAD8_PLT
	.no_dead_strip	_wl18xx_plt_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl18xx_plt_init
_wl18xx_plt_init:                       ; @wl18xx_plt_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PLT_FEM_DETECT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PLT_FEM_DETECT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_wl1271_error
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	mov	x19, x0
Lloh8:
	adrp	x8, _WL18XX_SCR_PAD8@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WL18XX_SCR_PAD8@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _WL18XX_SCR_PAD8_PLT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WL18XX_SCR_PAD8_PLT@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_wlcore_write32
	tbnz	w0, #31, LBB0_4
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PLT_FEM_DETECT,8,3             ; @PLT_FEM_DETECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wl18xx_plt_init: PLT FEM_DETECT not supported"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_WL18XX_SCR_PAD8,4,2            ; @WL18XX_SCR_PAD8
	.comm	_WL18XX_SCR_PAD8_PLT,4,2        ; @WL18XX_SCR_PAD8_PLT
	.no_dead_strip	_wl18xx_plt_init
.subsections_via_symbols
