	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pwm_ir_probe
_pwm_ir_probe:                          ## @pwm_ir_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$12, %esi
	callq	_devm_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_pwm_get
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movl	8(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movabsq	$214748402800, %rax             ## imm = 0x3200009470
	movq	%rax, (%rbx)
	movq	_RC_DRIVER_IR_RAW_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_devm_rc_allocate_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rbx, 24(%rax)
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_DEVICE_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_pwm_ir_tx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_pwm_ir_set_duty_cycle@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_pwm_ir_set_carrier@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_rc_register_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RC_DRIVER_IR_RAW_TX,4,2        ## @RC_DRIVER_IR_RAW_TX
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.comm	_DEVICE_NAME,4,2                ## @DEVICE_NAME
	.comm	_pwm_ir_tx,4,2                  ## @pwm_ir_tx
	.comm	_pwm_ir_set_duty_cycle,4,2      ## @pwm_ir_set_duty_cycle
	.comm	_pwm_ir_set_carrier,4,2         ## @pwm_ir_set_carrier
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to register rc device\n"

	.no_dead_strip	_pwm_ir_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function pwm_ir_probe
lCPI0_0:
	.long	38000                           ; 0x9470
	.long	50                              ; 0x32
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pwm_ir_probe:                          ; @pwm_ir_probe
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #12
	bl	_devm_kmalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, #0
	bl	_devm_pwm_get
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x20, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
Lloh5:
	adrp	x8, _RC_DRIVER_IR_RAW_TX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RC_DRIVER_IR_RAW_TX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_devm_rc_allocate_device
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x0
	str	x20, [x0, #24]
Lloh8:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0, #16]
Lloh11:
	adrp	x8, _DEVICE_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DEVICE_NAME@GOTPAGEOFF]
Lloh13:
	adrp	x9, _pwm_ir_tx@GOTPAGE
Lloh14:
	ldr	x9, [x9, _pwm_ir_tx@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh17:
	adrp	x8, _pwm_ir_set_duty_cycle@GOTPAGE
Lloh18:
	ldr	x8, [x8, _pwm_ir_set_duty_cycle@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _pwm_ir_set_carrier@GOTPAGE
Lloh21:
	ldr	x9, [x9, _pwm_ir_set_carrier@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	mov	x0, x19
	bl	_devm_rc_register_device
	mov	x20, x0
	tbz	w0, #31, LBB0_7
; %bb.5:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_6:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	mov	x0, x20
	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 AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RC_DRIVER_IR_RAW_TX,4,2        ; @RC_DRIVER_IR_RAW_TX
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
	.comm	_DEVICE_NAME,4,2                ; @DEVICE_NAME
	.comm	_pwm_ir_tx,4,2                  ; @pwm_ir_tx
	.comm	_pwm_ir_set_duty_cycle,4,2      ; @pwm_ir_set_duty_cycle
	.comm	_pwm_ir_set_carrier,4,2         ; @pwm_ir_set_carrier
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to register rc device\n"

	.no_dead_strip	_pwm_ir_probe
.subsections_via_symbols
