	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc18xx_pconf_get_gpio_pin_int
_lpc18xx_pconf_get_gpio_pin_int:        ## @lpc18xx_pconf_get_gpio_pin_int
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_lpc18xx_pin_to_gpio
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %edi
	callq	_lpc18xx_gpio_to_pintsel_val
	movl	%eax, %r15d
	movl	$0, (%r12)
	movq	_LPC18XX_SCU_PINTSEL0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_lpc18xx_get_pintsel
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	_LPC18XX_SCU_PINTSEL1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lpc18xx_get_pintsel            ## TAILCALL
LBB0_1:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_LPC18XX_SCU_PINTSEL0,8,3       ## @LPC18XX_SCU_PINTSEL0
	.comm	_LPC18XX_SCU_PINTSEL1,8,3       ## @LPC18XX_SCU_PINTSEL1
	.no_dead_strip	_lpc18xx_pconf_get_gpio_pin_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc18xx_pconf_get_gpio_pin_int
_lpc18xx_pconf_get_gpio_pin_int:        ; @lpc18xx_pconf_get_gpio_pin_int
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
	bl	_pinctrl_dev_get_drvdata
	mov	x20, x0
	mov	x0, x22
	mov	x1, x21
	bl	_lpc18xx_pin_to_gpio
	tbnz	w0, #31, LBB0_3
; %bb.1:
	bl	_lpc18xx_gpio_to_pintsel_val
	mov	x21, x0
	str	wzr, [x19]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _LPC18XX_SCU_PINTSEL0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LPC18XX_SCU_PINTSEL0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	x1, x21
	mov	x2, x19
	bl	_lpc18xx_get_pintsel
	cbz	w0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _LPC18XX_SCU_PINTSEL1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LPC18XX_SCU_PINTSEL1@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, x9
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_lpc18xx_get_pintsel
LBB0_3:
Lloh6:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_LPC18XX_SCU_PINTSEL0,8,3       ; @LPC18XX_SCU_PINTSEL0
	.comm	_LPC18XX_SCU_PINTSEL1,8,3       ; @LPC18XX_SCU_PINTSEL1
	.no_dead_strip	_lpc18xx_pconf_get_gpio_pin_int
.subsections_via_symbols
