	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9033_probe
_af9033_probe:                          ## @af9033_probe
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, 64(%rax)
	leaq	48(%rax), %rdi
	movq	%r15, %rsi
	movl	$12, %edx
	callq	_memcpy
	movl	48(%r12), %eax
	cmpl	$135, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$136, %eax
	jne	LBB0_6
## %bb.4:
	movl	$1, (%r12)
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_23
LBB0_5:
	movl	$1, 4(%r12)
LBB0_6:
	movl	52(%r12), %edx
	cmpl	$12000000, %edx                 ## imm = 0xB71B00
	jne	LBB0_7
## %bb.8:
	leaq	_af9033_probe.regmap_config(%rip), %rsi
	movq	%r14, %rdi
	callq	_regmap_init_i2c
	movl	%eax, 16(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	16(%r12), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_22
LBB0_7:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_22
LBB0_10:
	movl	56(%r12), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_12
## %bb.11:
	movl	$1, 8(%r12)
	movl	$19452, %esi                    ## imm = 0x4BFC
	jmp	LBB0_13
LBB0_12:
	movl	$1, 12(%r12)
	movl	$33769, %esi                    ## imm = 0x83E9
LBB0_13:
	movl	16(%r12), %edi
	leaq	-80(%rbp), %rdx
	movl	$4, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.14:
	movl	16(%r12), %edi
	leaq	-64(%rbp), %rdx
	movl	$8405393, %esi                  ## imm = 0x804191
	movl	$4, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_15
LBB0_21:
	movl	16(%r12), %edi
	callq	_regmap_exit
LBB0_22:
	movq	%r12, %rdi
	callq	_kfree
LBB0_23:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	-80(%rbp), %edx
	movl	-76(%rbp), %ecx
	movl	-72(%rbp), %r8d
	movl	-68(%rbp), %r9d
	movl	-64(%rbp), %r10d
	movl	-60(%rbp), %r11d
	movl	-56(%rbp), %r13d
	movl	-52(%rbp), %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r13
	pushq	%r11
	pushq	%r10
	callq	_dev_info
	addq	$32, %rsp
	cmpl	$0, 12(%r12)
	je	LBB0_18
## %bb.16:
	movl	16(%r12), %edi
	movl	$8388684, %esi                  ## imm = 0x80004C
	movl	$1, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.17:
	movl	16(%r12), %edi
	movl	$8388608, %esi                  ## imm = 0x800000
	xorl	%edx, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
LBB0_18:
	leaq	24(%r12), %rbx
	movq	%r12, %rdi
	addq	$32, %rdi
	movq	_af9033_ops@GOTPCREL(%rip), %rsi
	movl	$12, %edx
	callq	_memcpy
	movq	%r12, 24(%r12)
	movq	16(%r15), %rax
	movq	%rbx, (%rax)
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_af9033_pid_filter@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_af9033_pid_filter_ctrl@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_20:
	movl	16(%r12), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	jmp	LBB0_24
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @af9033_probe.regmap_config
_af9033_probe.regmap_config:
	.long	24                              ## 0x18
	.long	8                               ## 0x8

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported clock %u Hz. Only 12000000 Hz is supported currently\n"

L_.str.1:                               ## @.str.1
	.asciz	"firmware version: LINK %d.%d.%d.%d - OFDM %d.%d.%d.%d\n"

	.comm	_af9033_ops,24,3                ## @af9033_ops
	.comm	_af9033_pid_filter,4,2          ## @af9033_pid_filter
	.comm	_af9033_pid_filter_ctrl,4,2     ## @af9033_pid_filter_ctrl
L_.str.2:                               ## @.str.2
	.asciz	"Afatech AF9033 successfully attached\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9033_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9033_probe
_af9033_probe:                          ; @af9033_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x21, [x0]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #72
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #64]
	add	x0, x0, #48
	mov	x1, x21
	mov	w2, #12
	bl	_memcpy
	ldr	w8, [x20, #48]
	cmp	w8, #135
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #136
	b.ne	LBB0_6
; %bb.3:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_17
LBB0_5:
	mov	w8, #1
	str	w8, [x20, #4]
LBB0_6:
	ldr	w2, [x20, #52]
	sub	w8, w2, #2929, lsl #12          ; =11997184
	cmp	w8, #2816
	b.ne	LBB0_9
; %bb.7:
Lloh9:
	adrp	x1, _af9033_probe.regmap_config@PAGE
Lloh10:
	add	x1, x1, _af9033_probe.regmap_config@PAGEOFF
	mov	x0, x19
	bl	_regmap_init_i2c
	str	w0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w0, [x20, #16]
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_16
LBB0_9:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w22, w8
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_16
LBB0_10:
	ldr	w8, [x20, #56]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.11:
	mov	w8, #1
	str	w8, [x20, #8]
	mov	w1, #19452
	b	LBB0_13
LBB0_12:
	mov	w8, #1
	str	w8, [x20, #12]
	mov	w1, #33769
LBB0_13:
	ldr	w0, [x20, #16]
	add	x23, sp, #72
	add	x2, sp, #72
	mov	w3, #4
	bl	_regmap_bulk_read
	mov	x22, x0
	cbnz	w0, LBB0_15
; %bb.14:
	ldr	w0, [x20, #16]
	add	x2, x23, #16
	mov	w1, #16785
	movk	w1, #128, lsl #16
	mov	w3, #4
	bl	_regmap_bulk_read
	mov	x22, x0
	cbz	w0, LBB0_20
LBB0_15:
	ldr	w0, [x20, #16]
	bl	_regmap_exit
LBB0_16:
	mov	x0, x20
	bl	_kfree
LBB0_17:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_dbg
LBB0_18:
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.19:
	mov	x0, x22
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_20:
	ldp	w8, w9, [sp, #72]
	ldp	w10, w11, [sp, #80]
	ldp	w12, w13, [sp, #88]
	ldp	w14, w15, [sp, #96]
	stp	x14, x15, [sp, #48]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	stp	x8, x9, [sp]
	mov	x0, x19
	bl	_dev_info
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_23
; %bb.21:
	ldr	w0, [x20, #16]
	mov	w1, #76
	movk	w1, #128, lsl #16
	mov	w2, #1
	bl	_regmap_write
	mov	x22, x0
	cbnz	w0, LBB0_15
; %bb.22:
	ldr	w0, [x20, #16]
	mov	w1, #8388608
	mov	w2, #0
	bl	_regmap_write
	mov	x22, x0
	cbnz	w0, LBB0_15
LBB0_23:
	add	x22, x20, #24
	add	x0, x20, #32
Lloh23:
	adrp	x1, _af9033_ops@GOTPAGE
Lloh24:
	ldr	x1, [x1, _af9033_ops@GOTPAGEOFF]
	mov	w2, #12
	bl	_memcpy
	str	x20, [x20, #24]
	ldr	x8, [x21, #16]
	str	x22, [x8]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_25
; %bb.24:
Lloh25:
	adrp	x9, _af9033_pid_filter@GOTPAGE
Lloh26:
	ldr	x9, [x9, _af9033_pid_filter@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _af9033_pid_filter_ctrl@GOTPAGE
Lloh29:
	ldr	x10, [x10, _af9033_pid_filter_ctrl@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
LBB0_25:
	ldr	w8, [x20, #16]
	str	w8, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w22, #0
	b	LBB0_18
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @af9033_probe.regmap_config
_af9033_probe.regmap_config:
	.long	24                              ; 0x18
	.long	8                               ; 0x8

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported clock %u Hz. Only 12000000 Hz is supported currently\n"

l_.str.1:                               ; @.str.1
	.asciz	"firmware version: LINK %d.%d.%d.%d - OFDM %d.%d.%d.%d\n"

	.comm	_af9033_ops,24,3                ; @af9033_ops
	.comm	_af9033_pid_filter,4,2          ; @af9033_pid_filter
	.comm	_af9033_pid_filter_ctrl,4,2     ; @af9033_pid_filter_ctrl
l_.str.2:                               ; @.str.2
	.asciz	"Afatech AF9033 successfully attached\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9033_probe
.subsections_via_symbols
