	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_smbus_host_notify_to_irq
_i2c_smbus_host_notify_to_irq:          ## @i2c_smbus_host_notify_to_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	8(%rdi), %rcx
	movl	(%rcx), %edi
	testl	%edi, %edi
	je	LBB0_1
## %bb.3:
	movq	_I2C_CLIENT_TEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_6
LBB0_5:
	movl	4(%rax), %esi
	callq	_irq_create_mapping
	movq	_ENXIO@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	testl	%eax, %eax
	cmovnel	%eax, %ecx
LBB0_6:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_I2C_CLIENT_TEN,4,2             ## @I2C_CLIENT_TEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_i2c_smbus_host_notify_to_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_smbus_host_notify_to_irq
_i2c_smbus_host_notify_to_irq:          ; @i2c_smbus_host_notify_to_irq
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _I2C_CLIENT_TEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _I2C_CLIENT_TEN@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _ENXIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w1, [x0, #4]
	mov	x0, x8
	bl	_irq_create_mapping
Lloh7:
	adrp	x8, _ENXIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w0, w0, w8, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_I2C_CLIENT_TEN,4,2             ; @I2C_CLIENT_TEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_i2c_smbus_host_notify_to_irq
.subsections_via_symbols
