	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wimax_dev_add                  ## -- Begin function wimax_dev_add
	.p2align	4, 0x90
_wimax_dev_add:                         ## @wimax_dev_add
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rsi), %r15
	leaq	L_.str(%rip), %rdx
	movl	$3, %edi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	movq	%r14, %r8
	callq	_d_fnstart
	movq	%r14, 8(%rbx)
	movq	%rbx, %rdi
	callq	_wimax_rfkill_add
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_wimax_id_table_add
	movq	%rbx, %rdi
	callq	_wimax_debugfs_add
	testl	%eax, %eax
	js	LBB0_3
## %bb.7:
	movq	_WIMAX_ST_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	___wimax_state_set
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	4(%r14), %ecx
	movl	8(%r14), %edx
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_wimax_addr_scnprint
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_dev_err
	leaq	L_.str.3(%rip), %rdx
	movl	$3, %edi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_d_fnend
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %r12d
	jmp	LBB0_4
LBB0_3:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%rbx, %rdi
	callq	_wimax_id_table_rm
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_wimax_rfkill_rm
LBB0_4:
	leaq	L_.str.4(%rip), %rdx
	movl	$3, %edi
	movq	%r15, %rsi
	movq	%rbx, %rcx
	movq	%r14, %r8
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_d_fnend
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.6:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(wimax_dev %p net_dev %p)\n"

L_.str.1:                               ## @.str.1
	.asciz	"cannot initialize debugfs: %d\n"

	.comm	_WIMAX_ST_DOWN,4,2              ## @WIMAX_ST_DOWN
L_.str.2:                               ## @.str.2
	.asciz	"WiMAX interface %s (%s) ready\n"

L_.str.3:                               ## @.str.3
	.asciz	"(wimax_dev %p net_dev %p) = 0\n"

L_.str.4:                               ## @.str.4
	.asciz	"(wimax_dev %p net_dev %p) = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wimax_dev_add                  ; -- Begin function wimax_dev_add
	.p2align	2
_wimax_dev_add:                         ; @wimax_dev_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x21, [x1, #16]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #3
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_d_fnstart
	str	x19, [x20, #8]
	mov	x0, x20
	bl	_wimax_rfkill_add
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_mutex_lock
	mov	x0, x20
	bl	_wimax_id_table_add
	mov	x0, x20
	bl	_wimax_debugfs_add
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _WIMAX_ST_DOWN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WIMAX_ST_DOWN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	___wimax_state_set
	mov	x0, x20
	bl	_mutex_unlock
	ldp	w3, w2, [x19, #4]
	add	x22, sp, #8
	add	x0, sp, #8
	mov	w1, #32
	bl	_wimax_addr_scnprint
	ldr	w2, [x19]
	str	x22, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #3
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_d_fnend
	mov	w22, #0
	b	LBB0_6
LBB0_3:
	mov	x22, x0
	b	LBB0_5
LBB0_4:
	mov	x22, x0
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_err
	mov	x0, x20
	bl	_wimax_id_table_rm
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x20
	bl	_wimax_rfkill_rm
LBB0_5:
Lloh14:
	adrp	x2, l_.str.4@PAGE
Lloh15:
	add	x2, x2, l_.str.4@PAGEOFF
	str	x22, [sp]
	mov	w0, #3
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_d_fnend
LBB0_6:
	ldr	x8, [sp, #40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x22
	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
	add	sp, sp, #96
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(wimax_dev %p net_dev %p)\n"

l_.str.1:                               ; @.str.1
	.asciz	"cannot initialize debugfs: %d\n"

	.comm	_WIMAX_ST_DOWN,4,2              ; @WIMAX_ST_DOWN
l_.str.2:                               ; @.str.2
	.asciz	"WiMAX interface %s (%s) ready\n"

l_.str.3:                               ; @.str.3
	.asciz	"(wimax_dev %p net_dev %p) = 0\n"

l_.str.4:                               ; @.str.4
	.asciz	"(wimax_dev %p net_dev %p) = %d\n"

.subsections_via_symbols
